<script id="list-tpl" type="text/html"
        data-params='{"url":"/education/admin/sellerEnter","dataName":"epData","pageid":"#page", "method":"post", "data":""}'>
    <table id="example" class="layui-table lay-even" data-name="epData" data-tplid="list-tpl">
        <thead>
            <tr>
                <th width="30"><input type="checkbox" id="checkall" data-name="checkbox" lay-filter="check"
                                      lay-skin="primary"></th>
                <th>场馆名称</th>
                <th>场馆类别</th>
                <th width="110">联系人</th>
                <th>联系电话</th>
                <th width="120">地址</th>
                <th width="180">申请时间</th>
                <th>状态</th>
                <!--<th width="120">审核人</th>
                <th width="120">审核时间</th>-->
                <th width="150">操作</th>
            </tr>
        </thead>
        <tbody>
            {{# layui.each(d.list, function(index, item){ }}
            <tr>
                <td><input type="checkbox" name="checkbox" value="{{ item.id}}" lay-skin="primary"></td>
                <td> {{ item.site_name }} </td>
                <td> {{ item.site_type_name||'' }} </td>
                <td> {{ item.owner||'' }} </td>
                <td> {{ item.tel||'' }} </td>
                <td> {{ item.address||'' }} </td>
                <td>{{# if(item.create_time == null){ }} {{#  } else { }} {{ item.create_time}}  {{#  } }}</td>
                <!--<td> {{ item.audit_username }} </td>
                <td>{{# if(item.audit_time == null){ }} {{#  } else { }} {{ item.audit_time}}  {{#  } }}</td>-->
                <td>{{ item.status_desc||'' }}</td>
                <td>
                    <!--<button class="layui-btn layui-btn-mini" onclick="viewDetail('{{item.id}}');">
                        <i class="iconfont">&#xe653;</i>编辑
                    </button>-->
                    <button class="layui-btn layui-btn-mini layui-btn-normal" onclick="viewAudit('{{item.id}}');">
                        <i class="iconfont">&#xe63f;</i> 审核
                    </button>
                </td>
            </tr>
            {{# }); }}
        </tbody>

    </table>
</script>